package com.iterator.mapper.web.userManager;

import com.iterator.bean.web.pojo.lyh.User;
import com.iterator.bean.web.pojo.lyh.MallUserExample;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface MallUserMapper {
    long countByExample(MallUserExample example);

    int deleteByExample(MallUserExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(User record);

    int insertSelective(User record);

    List<User> selectByExample(MallUserExample example);
    User selectUserByName(String name);
    User selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") User record, @Param("example") MallUserExample example);

    int updateByExample(@Param("record") User record, @Param("example") MallUserExample example);

    int updateByPrimaryKeySelective(User record);

    int updateByPrimaryKey(User record);
}